package dbobjects;

import dbreflection.tablemanagement.DOTable;
import dbreflection.tablemanagement.DOField;
import dbreflection.tablemanagement.DatabaseObject;

/**
 * User: [J0k3r]
 * Date: 16.01.2009
 * Time: 1:06:39
 */
@DOTable(table = "db_hierarchy_template", pk = "id")
public class DBHierarchyTemplate extends DatabaseObject
{
    @DOField(column = "id")
    private Integer id;
    @DOField(column = "db_hierarchy_id")
    private Integer hierarchyId;
    @DOField(column = "db_object_template_id")
    private Integer templateId;

    public DBHierarchyTemplate() {
        this.hierarchyId = UNASSIGNEDINT;
        this.id = UNASSIGNEDINT;
        this.templateId = UNASSIGNEDINT;
    }

    public Integer getHierarchyId() {
        return hierarchyId;
    }

    public void setHierarchyId(Integer hierarchyId) {
        this.hierarchyId = hierarchyId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTemplateId() {
        return templateId;
    }

    public void setTemplateId(Integer templateId) {
        this.templateId = templateId;
    }
}
